home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Games Collection 1 / software vault.zip / software vault / CDR10 / YICN23.ZIP / BEET / SB1MISC.H < prev    next >
C/C++ Source or Header  |  1993-02-20  |  699b  |  33 lines

  1. #ifndef SB1MISC_H
  2. #define SB1MISC_H
  3.  
  4. #include "platform.h"
  5.  
  6. #define PLAYER 0
  7. #define CLUB 1
  8. #define BLOB 2
  9.  
  10. class blob : public crawler
  11. {
  12. public:
  13.   blob(void) {hitPoints = 1; damage =1; alignment = -1; moveIncrement = 1; gravity=1; assignIcon(BLOB, factor::oneFace);};
  14. };
  15.  
  16. class grumPlayer : public player
  17. {
  18. public:
  19.   grumPlayer(void);
  20.   missile * missileGenerator(int missileType);
  21. };
  22.  
  23. class club : public missile
  24. {
  25. public:
  26.   club(grumPlayer * owner = NULL) : missile() {damage = 1; hitPoints = 1; range = 15; moveIncrement = 12; gravity = 0;
  27.         assignIcon(CLUB, factor::oneFace); owningPlayer = owner;};
  28. };
  29.  
  30. void loadIcons(void);
  31. void drawBorder(void);
  32.  
  33. #endif